package com.sixdoors.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sixdoors.common.annotation.Excel;
import com.sixdoors.common.core.domain.BaseEntity;

/**
 * 文章内容对象 article_content
 * 
 * @author sixdoors
 * @date 2024-04-08
 */
public class ArticleContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articlePartId;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String articleContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticlePartId(Long articlePartId) 
    {
        this.articlePartId = articlePartId;
    }

    public Long getArticlePartId() 
    {
        return articlePartId;
    }
    public void setArticleContent(String articleContent) 
    {
        this.articleContent = articleContent;
    }

    public String getArticleContent() 
    {
        return articleContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articlePartId", getArticlePartId())
            .append("articleContent", getArticleContent())
            .toString();
    }
}
